package com.lucky.auth_boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lucky.auth_boot.pojo.dto.PirateDTO;
import com.lucky.auth_boot.pojo.po.PiratePO;
import com.lucky.auth_boot.pojo.vo.PirateUserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PirateMapper extends BaseMapper<PiratePO> {
    Page<PirateUserVO> queryPirateUrlListPage(Page<PirateUserVO> page,@Param("pirateDTO") PirateDTO pirateDTO);
    PirateUserVO queryPirateOneById(Integer id);
}
